<%@ tag pageEncoding="UTF-8"%>

<!-- 样式文件
	 easyui样式文件：..themes/default/easyui.css ————>风格{default、bootstrap.....}
	 easyui图标样式：..themes/icon.css
-->
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/jqtransformplugin/jqtransform1.css"  media="all" />
<link rel="stylesheet" type="text/css" type="text/css" href="${pageContext.request.contextPath}/static/easyui/themes/default/easyui.css">  
<link rel="stylesheet" type="text/css" type="text/css" href="${pageContext.request.contextPath}/static/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" type="text/css" href="${pageContext.request.contextPath}/static/easyui/demo.css">

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/public.css" rel="stylesheet"/>
<!-- js文件 -->
<script type="text/javascript" src="${pageContext.request.contextPath}/static/easyui/jquery.min.js"></script>

<!-- easyui核心js和中文包js -->
<script type="text/javascript" src="${pageContext.request.contextPath}/static/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/easyui/locale/easyui-lang-zh_CN.js"></script>

<!-- highcharts核心js -->
<script type="text/javascript" src="${pageContext.request.contextPath}/static/highcharts-4.0.0/js/highcharts.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/highcharts-4.0.0/js/highcharts-3d.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/highcharts-4.0.0/js/highcharts-more.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/highcharts-4.0.0/js/exporting.js"></script>


<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/RGraph.common.core.js" ></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/RGraph.gauge.js" ></script>

<!-- jquery日期选择器 -->
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery.DatePicker.js"></script>

<!-- 自定义工具js -->
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/easyUtils.js"></script>

<script type="text/javascript" src="${pageContext.request.contextPath}/static/jqtransformplugin/jquery.jqtransform.js" ></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/easyui/datagrid-detailview.js"></script>

<!-- 流程图生成工具 -->
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/wz_jsgraphics.js" ></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery.ui.flow.js" ></script>

<!-- echar -->
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/echarts.common.min.js"></script>

<!--[if lt IE 9]><script src="${pageContext.request.contextPath}/static/RGraph/excanvas/excanvas.js"></script><![endif]-->

<script type="text/javascript">
var dictUrl = "${pageContext.request.contextPath}/format/get";
function openwin(url) {
    var a = document.createElement("a");
    a.setAttribute("href", url);
    a.setAttribute("target", "_blank");
    a.setAttribute("id", "openwin");
    document.body.appendChild(a);
    a.click();
}

Date.prototype.pattern=function(fmt) {      
    var o = {      
    "M+" : this.getMonth()+1, //月份      
    "d+" : this.getDate(), //日      
    "h+" : this.getHours()%12 == 0 ? 12 : this.getHours()%12, //小时      
    "H+" : this.getHours(), //小时      
    "m+" : this.getMinutes(), //分      
    "s+" : this.getSeconds(), //秒      
    "q+" : Math.floor((this.getMonth()+3)/3), //季度      
    "S" : this.getMilliseconds() //毫秒      
    };      
    var week = {      
    "0" : "\u65e5",      
    "1" : "\u4e00",      
    "2" : "\u4e8c",      
    "3" : "\u4e09",      
    "4" : "\u56db",      
    "5" : "\u4e94",      
    "6" : "\u516d"     
    };      
    if(/(y+)/.test(fmt)){      
        fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length));      
    }      
    if(/(E+)/.test(fmt)){      
        fmt=fmt.replace(RegExp.$1, ((RegExp.$1.length>1) ? (RegExp.$1.length>2 ? "\u661f\u671f" : "\u5468") : "")+week[this.getDay()+""]);      
    }      
    for(var k in o){      
        if(new RegExp("("+ k +")").test(fmt)){      
            fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));      
        }      
    }      
    return fmt;      
}
</script>